using System;
using System.Collections.Generic;
using System.Text;
using System.Xml;
using Common.Utilities.Dispatcher;

namespace Workflows.Components.Reports
{
    [Serializable]
    public class ReportBuilderOutput:ResultBase
    {
        private string _RdlFilePath;

        public string RdlFilePath
        {
            get { return _RdlFilePath; }
            set { _RdlFilePath = value; }
        }

        private ReportFormat _ReportFileFormat;

        public ReportFormat ReportFileFormat
        {
            get { return _ReportFileFormat; }
            set { _ReportFileFormat = value; }
        }

        private string _ReportFilePath;

        public string ReportFilePath
        {
            get { return _ReportFilePath; }
            set { _ReportFilePath = value; }
        }
	
        public ReportBuilderOutput():base(Guid.Empty,Guid.Empty)
        {
            this._RdlFilePath = string.Empty;
            this._ReportFilePath = string.Empty;
            this._ReportFileFormat = ReportFormat.Excel;
        }

        public ReportBuilderOutput(Guid componentID, Guid jobTicketID,
            string rdlFilePath,
            string reportFilePath,
            ReportFormat format) 
            : base(componentID, jobTicketID)
        {
            this._RdlFilePath = rdlFilePath;
            this._ReportFilePath = reportFilePath;
            this._ReportFileFormat = format;
        }

        public override XmlNode Serialize(ref XmlDocument xDoc, ref XmlNode parentNode)
        {
            throw new NotImplementedException();
        }

        public override ResultBase Instantiate(XmlNode xNode)
        {
            throw new NotImplementedException();
        }
    }
}
